From: Bilal Elmoussaoui Date: Tue, 20 Aug 2024 16:48:58 +0000 (+0200) Subject: Remove text mipmapping disabling X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~219^2^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=ccc46d3f5c1d7b6b9c7e04b825982df05b0e60dc;p=gnome-shell.git Remove text mipmapping disabling As it is now disabled by default in CoglPango as a preparation for merging it inside libst in the future Part-of: --- diff --git a/src/main.c b/src/main.c index c9a5ec292..b4733cc6f 100644 --- a/src/main.c +++ b/src/main.c @@ -10,7 +10,6 @@ #include #include -#include #include #include #include @@ -237,20 +236,6 @@ shell_introspection_init (void) #endif } -static void -shell_fonts_init (void) -{ - CoglPangoFontMap *fontmap; - - /* Disable text mipmapping; it causes problems on pre-GEM Intel - * drivers and we should just be rendering text at the right - * size rather than scaling it. If we do effects where we dynamically - * zoom labels, then we might want to reconsider. - */ - fontmap = COGL_PANGO_FONT_MAP (clutter_get_font_map ()); - cogl_pango_font_map_set_use_mipmapping (fontmap, FALSE); -} - static void shell_profiler_init (void) { @@ -683,7 +668,6 @@ main (int argc, char **argv) shell_a11y_init (); shell_perf_log_init (); shell_introspection_init (); - shell_fonts_init (); g_log_set_writer_func (default_log_writer, NULL, NULL);